//
//  UILable+Extension.swift
//  SinaWeibo
//
//  Created by 李江波 on 2016/11/13.
//  Copyright © 2016年 lijiangbo. All rights reserved.
//

import UIKit

extension UILabel {

    convenience init(title : String,textColor : UIColor = UIColor.darkGray, font : CGFloat) {
        self.init()
        
        self.text = title
        self.textAlignment = .center
        self.font = UIFont.systemFont(ofSize: font)
        self.textColor = textColor
    }

}
